package com.jdk.learn.exam;

/**
 * Created by bgt on 2018/2/19.
 */
public class one {

    public void First(){
        int x=10;
        int y=5;
        x= +y;
        System.out.println(x);//打印结果是5
        System.out.println(y);//打印结果是5
        x= -y;
        System.out.println(x);//打印结果是-5  符号位
        System.out.println(y);//打印结果是5

    }

    public void Two(){

    }

    public static void main(String[] args) {
       int x=5,y=110;
        do {
            x=y/x;
            y=y-x;
            System.out.println(x+"--------"+y);
        }while (y>=1);
        System.out.println(x);
        System.out.println(y);

   }
}
